// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Ml
{
	public sealed partial class ModelSnapshot
	{
		[JsonInclude]
		[JsonPropertyName("description")]
		public string? Description { get; init; }

		[JsonInclude]
		[JsonPropertyName("job_id")]
		public string JobId { get; init; }

		[JsonInclude]
		[JsonPropertyName("latest_record_time_stamp")]
		public int? LatestRecordTimeStamp { get; init; }

		[JsonInclude]
		[JsonPropertyName("latest_result_time_stamp")]
		public int? LatestResultTimeStamp { get; init; }

		[JsonInclude]
		[JsonPropertyName("min_version")]
		public string MinVersion { get; init; }

		[JsonInclude]
		[JsonPropertyName("model_size_stats")]
		public Elastic.Clients.Elasticsearch.Ml.ModelSizeStats? ModelSizeStats { get; init; }

		[JsonInclude]
		[JsonPropertyName("retain")]
		public bool Retain { get; init; }

		[JsonInclude]
		[JsonPropertyName("snapshot_doc_count")]
		public long SnapshotDocCount { get; init; }

		[JsonInclude]
		[JsonPropertyName("snapshot_id")]
		public string SnapshotId { get; init; }

		[JsonInclude]
		[JsonPropertyName("timestamp")]
		public long Timestamp { get; init; }
	}
}